package org.hdax.entity;

import java.util.List;

public class Role {
    private Integer id;
    private String name;

    public Role(Integer id) {
        this.id = id;
    }

    public Role() {
    }

    private List<RolePermission> rolePermissionList;

    public List<RolePermission> getRolePermissionList() {
        return rolePermissionList;
    }

    public void setRolePermissionList(List<RolePermission> rolePermissionList) {
        this.rolePermissionList = rolePermissionList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
